<div class="row-fluid">
	<div class="span12">
		<div class="property-filter wrap-box-search-form">
			<div class="w-box-search-form w-box-search-form-header">
			<h5><?php echo $text_properties_search; ?></h5>
			</div>
			<div class="content">
				<form method="get" action="<?php echo base_url(); ?>listing-rows.html">
					<?php if($city_id) { ?>
					<input type="hidden" name="cities" value="<?php echo $city_id; ?>" />
					<?php } ?>
					<div class="row-fluid">
						<div class="span41"><label class="radio"> <input type="radio"
							name="propertyfor" id="forsaleorforrent1" value="sale"
							checked="checked"> <?php echo $text_property_forsale; ?> </label> 
							<label
							class="radio"> <input type="radio" name="propertyfor"
							id="forsaleorforrent2" value="rent"> <?php echo $text_property_forlease; ?>
						    </label>
						</div>
						<div class="span8">
							<div class="control-group">
							<div class="controls"><input
								title="<?php echo $text_keyword_of_properties; ?>"
								class="search-query span2 form-text keyword"
								value="<?php echo $text_keyword_of_properties; ?>" type="text"
								name="keyword"></div>
							<!-- /.controls -->
							</div>
							<!-- /.control-group -->
						</div>
					</div>
					<div class="row-fluid">
					<div class="span41"><label class="radio"> <input checked="checked"
						value="0" id="local" name="localorint" type="radio"> <?php echo $text_local; ?>
					</label> <label class="radio"> <input value="1" id="international"
						name="localorint" type="radio"> <?php echo $text_international; ?> </label>
					</div>
					<div class="span8">
					<div class="control-group">
						<div class="controls">
							<select id="inputLocation" name="locations">
							<option value="" id="all-location"><?php echo $text_district; ?></option>
							<?php if(count($lkup_location) > 0) { ?>
							<?php foreach ($lkup_location as $city) { ?>
							<option value="<?php echo $city->Location_ID; ?>"><?php echo $city->Name; ?></option>
							<?php } ?>
							<?php } ?>
							</select>
						</div>
					<!-- /.controls -->
					</div>
					<!-- /.control-group -->
					<div class="type control-group">
					<div class="controls">
						<select name="propertytype" id="ddlPropertyType">
							<option value="" selected="selected"><?php echo $text_all_propertytype; ?></option>
							<?php if(count($dd_propertytype) > 0) {
								foreach ($dd_propertytype as $key => $value) {
									?>
							<option value="<?php echo $value->PropertyType_ID; ?>"><?php echo $value->Name; ?></option>
							<?php }
							}
							?>
						</select>
						</div>
					<!-- /.controls --></div>
					<!-- /.control-group --></div>
					</div>
					<div class="formStep">
					<div class="row-fluid">
					<div class="span6">
					<div class="control-group search-map-box">
						<label class="control-label"><?php echo $text_search_by_map; ?></label>
						<div class="controls">
							<img id="search-by-map" alt="<?php echo $text_search_by_map; ?>" src="<?php echo $this->config->item('HTTP_IMAGE'); ?>search-by-map.png">
						</div>
					</div>
					</div>
					<div class="span6">
					<div class="control-group advanced-search-box">
					<div class="controls form-actions"><input type="submit"
						value="<?php echo $text_search_low; ?>" id="search-now"
						class="btn btn-primary btn-large arrow-right"></div>
					<label class="control-label"> <a
						href="<?php echo base_url(); ?>advancedsearch"><?php echo $text_advanced_search_properties; ?></a>
					</label></div>
					</div>
					</div>
					</div>
					<!-- /.form-actions -->
					<div class="formStep">
						<div class="row-fluid">
						<div class="span7">
						<div class="row-fluid">
						<div class="span5"><label class="control-label price-lbl"
							for="inputPrice"><?php echo $text_price; ?></label></div>
						<div class="span7">
						    <input name="price_min" type="text" id="price_min"
							class="span12 price_min small" value="<?php echo $text_min; ?>">
						</div>
						</div>
						</div>
						<div class="span5">
						<div class="row-fluid">
						<div class="span2"><label class="control-label price-lbl" for="inputTo"><?php echo $text_to; ?></label>
						</div>
						<div class="span10">
						    <input name="price_max" type="text" id="price_max"
							class="span12 price_max small" value="<?php echo $text_max; ?>">
						</div>
						</div>
						</div>
						</div>
						<div class="row-fluid">
						<div class="span7">
						<div class="row-fluid">
						<div class="span5"><label class="control-label price-lbl"
							for="inputPrice"><?php echo $text_bedrooms; ?></label></div>
						<div class="span7"><input name="bedroom_min" type="text" id="bedroom_min"
							class="span12 bed_min small" value="<?php echo $text_min; ?>"></div>
						</div>
						</div>
						<div class="span5">
						<div class="row-fluid">
						<div class="span2"><label class="control-label price-lbl" for="inputTo">to</label>
						</div>
						<div class="span10"><input name="bedroom_max" type="text" id="bedroom_max"
							class="span12 bed_max small" value="<?php echo $text_max; ?>"></div>
						</div>
						</div>
						</div>
					</div>
				<!-- /.form-actions -->
				</form>
			</div>
			<!-- /.content -->
		</div>
		<!-- /.property-filter -->
	</div>
</div>
